package com.OnTimeTeam.OnTime;

///////////////
//Class which holds the features of smart alarms when we need them available
public class SmartAlarmFeatures extends AlarmFeatures{

	protected String dest; //Destination
	protected String origin; //Origin
	protected String tto; //Time-To-Organize in mins
	protected String transport; //Transportaion Means
	protected String arrivalHour;
	protected String arrivalMinute;
	
	protected RoadsQuery roadsQ;
	protected String distance; //Transportaion Means
	protected String duration;
	protected String durationNumeric;
	protected Track track;
	
	
	public SmartAlarmFeatures(){
		super();
		dest = "";
		origin = "";
		tto = "";
		transport = "";
		arrivalHour = "";
		arrivalMinute = "";
		distance = "";
		duration = "";
		durationNumeric = "";
		track = null;
		roadsQ = null;
			
		
	}
	
	public String getTto() {
		return tto;
	}

	public void setTto(String tto) {
		this.tto = tto;
	}

	public String getDistance() {
		return distance;
	}

	public void setDistance(String distance) {
		this.distance = distance;
	}

	public String getDuration() {
		return duration;
	}

	public void setDuration(String duration) {
		this.duration = duration;
	}

	public String getDurationNumeric() {
		return durationNumeric;
	}

	public void setDurationNumeric(String durationNumeric) {
		this.durationNumeric = durationNumeric;
	}

	public Track getTrack() {
		return track;
	}

	public void setTrack(String track) {
		
		//create Track from string
		this.track = new Track(track);
	}

	public void setTrack(Track track) {
		
		//create Track from string
		this.track = track;
	}

	//Setters:
	public void setDest(String dest){this.dest = dest;}
	public void setOrigin(String origin){this.origin = origin;}
	public void setTTO(String tto){this.tto = tto;}
	public void setTransport(String transport) {this.transport = transport;}
	public void setArrivalHour(String arrivalHour){this.arrivalHour = arrivalHour;}
	public void setArrivalMinute(String arrivalMinute){this.arrivalMinute = arrivalMinute;}
	public void setRoadsQ(RoadsQuery roadsQ) {this.roadsQ = roadsQ;}

	
	//Getters:
	public String getDest(){return dest;}
	public String getOrigin(){return origin;}
	public String getTTO(){return tto;}
	public String getTransport(){return transport;}
	public String getArrivalHour(){return arrivalHour;}
	public String getArrivalMinute(){return arrivalMinute;}
	public RoadsQuery getRoadsQ() {return roadsQ;}
	

	
}//EO-class
